package net.zhengxinyun.performance.service.indicators;

import net.zhengxinyun.performance.entity.SixScoreEntity;
import net.zhengxinyun.performance.filter.SixIndicatorsFilter;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;
import java.util.Map;

/**
 * Created by hyp1202 on 2018/11/27.
 */
public interface SixScoreService {

    List<Map<String, Object>> query(SixIndicatorsFilter filter);

    String update(SixScoreEntity sixScoreEntity);

    String insert(SixScoreEntity sixScoreEntity);

    String delete(SixScoreEntity sixScoreEntity);

    Integer getThreeTableCount(SixIndicatorsFilter sixIndicatorsFilter);

    int getAuditCount(SixIndicatorsFilter sixIndicatorsFilter);

    String setScore(SixIndicatorsFilter sixIndicatorsFilter, List<SixIndicatorsFilter> list);

    String auditAllPass(List<SixIndicatorsFilter> list);

    String responsibleAllPass(List<SixIndicatorsFilter> list);

    String noPass(SixIndicatorsFilter sixIndicatorsFilter);

    List<Map<String, Object>> queryForAudit(SixIndicatorsFilter filter);

    String setFirstFinalScore(SixIndicatorsFilter sixIndicatorsFilter);

    public String importSixScore(MultipartFile file);
}
